package com.wuming.house.service;

import com.wuming.house.model.Information;

import java.util.List;

/**
 * @author xuhuai
 * @createTime 2019/8/27 14:36
 * @Description:
 */
public interface InformationService  {

    List<Information> getInfosByPage(String title,String source,int pageIndex,int pageSize);

    int getTotal(String title,String source);

    Information getInformationById(Integer id);

    void saveInformation(Information information);

    void modifyInformation(Information information);

    void delete(Integer id);
}
